package com.xiaoqi.springcloud.dao;

import com.xiaoqi.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentDao {

     // 插入支付
     int create(Payment payment);
     // 查询支付
     Payment getPaymentById(@Param("id") Long id);

}
